<template>
    <div class="imageAll">
        <button @click="$router.go(-1)">返回</button>
        <span class="imgItem" v-for="item in imgList" :key="item.image">
            <img :src="item.image" alt="">
        </span>
    </div>
</template>

<script>
export default {
    data() {
        return {
            imgList:[]
        }
    },
    created() {
        this.$api.getCarImageAll(this.$route.params.type).then(res=>{
           this.imgList=res.data;
        })
    }
}
</script>

<style lang='scss' scoped>
.imageAll {
    width:100%;
    height:100%;
    span{
        display: inline-block;
        width:33%;
        img{
            width:100%;
        }
    }
}
</style>